package com.crm.common.crm.entity.PO;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author zhangzhiwei
 * @since 2020-05-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("bill_crm_interface_error_info_log")
@ApiModel(value="接口调用异常日志表", description="")
public class CrmInterfaceErrorInfoLog implements Serializable {

    private static final long serialVersionUID=1L;


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "接口名称")
    private String interName;

    @ApiModelProperty(value = "方法名称")
    private String interMethod;

    @ApiModelProperty(value = "入参")
    private String interParam;

    @ApiModelProperty(value = "出参")
    private String interResult;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT)
    private Date updateTime;

    @ApiModelProperty(value = "接口耗时 秒")
    private String useTime;

    @ApiModelProperty(value = "异常信息")
    private String errorInfo;


}
